package com.nuo.admin.base.mapper;

import com.nuo.admin.base.entity.SysRoleMenu;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
* @author LGC
* @description 针对表【sys_role_menu(角色和菜单关联表)】的数据库操作Mapper
* @createDate 2022-02-09 11:35:10
* @Entity com.nuo.admin.base.entity.SysRoleMenu
*/
@Mapper
public interface SysRoleMenuMapper extends BaseMapper<SysRoleMenu> {


    /**
     * 获取菜单id集合
     * @param roleId
     * @return
     */
    List<Long> listMenuIds(@Param("roleId") Long roleId);
}




